package pl.edu.agh.to1.dice.logic;

public class Player{
	private String _name;
	private PlayerResult _result;
	public Player(String name){
		_name = name;	
		_result = new PlayerResult();
	}

	public String toString(){
		return _name;	
	}
	public void updateResult(int pos, Dices dices){
		_result.updateResult(pos,dices);
	}

	public PlayerResult getResult(){
		return _result;
	}
} 
